package com.dao;

import org.springframework.stereotype.Repository;
//加上注解标签 让Spring自动扫描到 Spring扫描到之后会添加到容器中
//相当于---><bean id="userDao" class="com.dao.UserDao"/>
@Repository
public class UserDao implements Dao{

    public void save(){
        System.out.println("UserDao.save....");
    }

    public void delete(){
        System.out.println("UserDao.delete....");
    }

}
